package com.rf.richfitwheel.admin.sys.model;

import lombok.Data;

import java.util.Date;

@Data
public class SysMsgStream {
    private String id;

    private String msgCode;

    private String msgContext;

    private String msgContextParam;

    private String senderId;

    private String receiverId;

    private String businessId;

    private Date sendTime;

    private String receiveState;

    private Date receiveTime;

    private String pageParam;

    private String senderName;
    private String pageType;
    private String pageUrl;
    private String sendOrgCode;
    private String receiveOrgCode;

    private String tenantId;

    public SysMsgStream(String id, String msgCode, String msgContext, String msgContextParam, String senderId, String receiverId, String businessId, Date sendTime, String receiveState, Date receiveTime, String pageParam, String tenantId, String sendOrgCode, String receiveOrgCode) {
        this.id = id;
        this.msgCode = msgCode;
        this.msgContext = msgContext;
        this.msgContextParam = msgContextParam;
        this.senderId = senderId;
        this.receiverId = receiverId;
        this.businessId = businessId;
        this.sendTime = sendTime;
        this.receiveState = receiveState;
        this.receiveTime = receiveTime;
        this.pageParam = pageParam;
        this.tenantId = tenantId;
        this.sendOrgCode = sendOrgCode;
        this.receiveOrgCode = receiveOrgCode;
    }

    public SysMsgStream(String id, String msgCode, String msgContext, String msgContextParam, String senderId, String receiverId, String businessId, Date sendTime, String receiveState, Date receiveTime, String pageParam, String tenantId, String sendOrgCode, String receiveOrgCode, String senderName, String pageType, String pageUrl) {
        this.id = id;
        this.msgCode = msgCode;
        this.msgContext = msgContext;
        this.msgContextParam = msgContextParam;
        this.senderId = senderId;
        this.receiverId = receiverId;
        this.businessId = businessId;
        this.sendTime = sendTime;
        this.receiveState = receiveState;
        this.receiveTime = receiveTime;
        this.pageParam = pageParam;
        this.tenantId = tenantId;
        this.sendOrgCode = sendOrgCode;
        this.receiveOrgCode = receiveOrgCode;
        this.senderName = senderName;
        this.pageType = pageType;
        this.pageUrl = pageUrl;
    }

    public SysMsgStream() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getMsgCode() {
        return msgCode;
    }

    public void setMsgCode(String msgCode) {
        this.msgCode = msgCode == null ? null : msgCode.trim();
    }

    public String getMsgContext() {
        return msgContext;
    }

    public void setMsgContext(String msgContext) {
        this.msgContext = msgContext == null ? null : msgContext.trim();
    }

    public String getMsgContextParam() {
        return msgContextParam;
    }

    public void setMsgContextParam(String msgContextParam) {
        this.msgContextParam = msgContextParam == null ? null : msgContextParam.trim();
    }

    public String getSenderId() {
        return senderId;
    }

    public void setSenderId(String senderId) {
        this.senderId = senderId == null ? null : senderId.trim();
    }

    public String getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(String receiverId) {
        this.receiverId = receiverId == null ? null : receiverId.trim();
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId == null ? null : businessId.trim();
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getReceiveState() {
        return receiveState;
    }

    public void setReceiveState(String receiveState) {
        this.receiveState = receiveState == null ? null : receiveState.trim();
    }

    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    public String getPageParam() {
        return pageParam;
    }

    public void setPageParam(String pageParam) {
        this.pageParam = pageParam == null ? null : pageParam.trim();
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public String getPageType() {
        return pageType;
    }

    public void setPageType(String pageType) {
        this.pageType = pageType;
    }

    public String getPageUrl() {
        return pageUrl;
    }

    public void setPageUrl(String pageUrl) {
        this.pageUrl = pageUrl;
    }
}
